package shuishijie.suishijie.model;

import java.util.List;

/**
 * Created by mindx on 2017/8/29.
 */

public class MsgInfoList {

    /**
     * addTime : 2017-08-27 12:00:00
     * content : 啦啦啦啦
     * id : 1
     * isread :
     * messageType : 4
     * path : https://fcp.oss-cn-beijing.aliyuncs.com/goods/77ebcb53-fe4e-40da-9b08-b01065b9b9db.jpg
     * title : 啦啦
     * url : www.baidu.com
     */
    public int currentPage;
    public int totalPage;
    public List<MsgInfo> data;

    public static class MsgInfo {
        @Override
        public boolean equals(Object obj) {
            if (obj instanceof MsgInfo) {
                return ((MsgInfo) obj).id == id;
            }
            return super.equals(obj);
        }

        public String addTime;
        public String content;
        public int id;
        public String isread;
        public String messageType;
        public String path;
        public String title;
        public String url;
    }
}
